package com.yuncommunity.cloudlab.controller

import com.google.gson.Gson
import com.google.gson.GsonBuilder
import com.google.gson.JsonParser
import net.bytebuddy.utility.RandomString
import org.springframework.beans.factory.annotation.Autowired
import org.springframework.stereotype.Controller
import org.springframework.ui.Model
import org.springframework.util.DigestUtils
import org.springframework.web.bind.annotation.GetMapping
import org.springframework.web.bind.annotation.ResponseBody
import java.util.*
import javax.servlet.http.HttpServletRequest

@Controller
class MainController {

    /**
     * 后台管理
     */
    @GetMapping("/admin")
    fun lipinka(model: Model): String {
        return "admin/index.html"
    }
}